apiVersion: v1
kind: Config
clusters:
- cluster:
    certificate-authority-data: {{lookup('file', '{{playbook_dir}}/roles/tls/files/k8s/ca.pem') | b64encode}}
    server: https://{{lb_keepalived_vip}}:16443
  name: k8s-cluster 
contexts:
- context:
  name: default-context
  context:
    cluster: k8s-cluster
    user: dashboard-admin
current-context: default-context
users:
- name: dashboard-admin
  user:
    token: {{dashboard_admin_secret_info.resources[0].data.token | b64decode}}
